// -----------------------------------------------------------------------
//  <copyright file="RedisOptions.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2024 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2024-04-07 20:05</last-date>
// -----------------------------------------------------------------------

namespace Shares.Infrastructure.Redis;

public class RedisOptions
{
    public const string Position = "Redis";

    /// <summary>
    /// 获取或设置 主机名
    /// </summary>
    public string Configuration { get; set; } = "localhost";

    /// <summary>
    /// 获取或设置 实例名
    /// </summary>
    public string InstanceName { get; set; } = "DaprPlus:";

    /// <summary>
    /// 获取或设置 默认数据库序号
    /// </summary>
    public int? DefaultDatabase { get; set; }

    /// <summary>
    /// 获取或设置 密码
    /// </summary>
    public string? Password { get; set; }
}
